package dtos

import (
	"github.com/beego/beego/v2/core/validation"
)

// UserInfoParams
type SubmitFlowParams struct {
	Data string `json:"data"`
}

func (sfp *SubmitFlowParams) Valid(v *validation.Validation) {
	if sfp.Data == "" {
		_ = v.SetError("data", "data is required")
		return
	}

	return
}

type JoyPlayFlowParam struct {
	TransactionId string `json:"transactionId"`
	Coins         int64  `json:"coins"`
	Type          int    `json:"type"`
	Tm            int64  `json:"tm"`
	RoomId        string `json:"roomId"`
	Ext           string `json:"ext"`
	Remark        string `json:"remark"`
	RoundId       string `json:"roundId"`
}
